package com.zrwl.poscloud.base.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zrwl.poscloud.base.superI.SuperEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ToString
@TableName("psms_tr_call_product_order")
public class CallProductOrder extends SuperEntity<CallProductOrder> {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("产品uid")
    private String productUid;
    @ApiModelProperty("计费类型")
    private int billingType;
    @ApiModelProperty("实际支付金额")
    private double amt;
    @ApiModelProperty("数量")
    private int count;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("开始时间")
    private Date beginTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("结束时间")
    private Date endTime;
    private String ProductConfigJson;
    @ApiModelProperty("订单编号")
    private String code;

}
